import Layout from '@/layout/Layout'

const institutionRouter = {
  path: '/institu',
  component: Layout,
  redirect: 'noredirect',
  name: '机构管理',
  meta: {
    title: '机构管理',
    icon: 'fa-users'
  },
  children: [
    // {
    //   path: 'instituManagement',
    //   component: () => import('@/views/institu/InstituManagement'),
    //   name: 'InstituManagement',
    //   meta: { title: '医检管理', cache: true }
    // },
    {
      path: 'hospitalManagement',
      component: () => import('@/views/institu/HospitalManagement'),
      name: 'HospitalManagement',
      meta: { title: '医院管理', cache: true }
    },
    {
      path: 'officeManagement',
      component: () => import('@/views/institu/OfficeManagement'),
      name: 'OfficeManagement',
      meta: { title: '科室管理', cache: true }
    },
    {
      path: 'doctorManagement',
      component: () => import('@/views/institu/DoctorManagement'),
      name: 'DoctorManagement',
      meta: { title: '医生管理', cache: true }
    },
    // {
    //   path: 'barcodeManagement',
    //   component: () => import('@/views/institu/BarcodeManagement'),
    //   name: 'BarcodeManagement',
    //   meta: { title: '条形码规则', cache: true }
    // },
  ]
}

export default institutionRouter
